﻿#region 命名空间

using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Sharp.Platform.Mvc.Models;

#endregion

namespace Sharp.WebBooter.Areas.Platform.Models
{
    public class MasterDataModel : BaseViewModel
    {
        [HiddenInput]
        public Guid Id { get; set; }


        /// <summary>
        ///     代码
        /// </summary>
        /// <value>代码</value>
        [Display(Name = "代码")]
        public string Code { get; set; }

        /// <summary>
        ///     名称
        /// </summary>
        /// <value>名称</value>
        [Display(Name = "名称")]
        public string Name { get; set; }

        /// <summary>
        ///     父Id
        /// </summary>
        [Display(Name = "上级")]
        public string ParentCode { get; set; }

        /// <summary>
        ///     全称
        /// </summary>
        [Display(Name = "全称")]
        public string FullName { get; set; }

        /// <summary>
        ///     简称
        /// </summary>
        [Display(Name = "简称")]
        public string Abbreviation { get; set; }


        public object DropDown { get; set; }
         
    }
}